target("BufferTest")
    set_kind("binary")
    add_files("BufferTest.cpp", "../src/net/Buffer.cpp")

target("InetAddressTest")
    set_kind("binary")
    add_files("InetAddressTest.cpp", "../src/net/InetAddress.cpp")

target("ThreadPoolTest")
    set_kind("binary")
    add_files("ThreadPoolTest.cpp", "../src/base/ThreadPool.cpp")

target("SocketTest")
    set_kind("binary")
    add_files("SocketTest.cpp", "../src/net/Socket.cpp", "../src/net/InetAddress.cpp")

target("SingletonThreadPoolTest")
    set_kind("binary")
    add_files("SingletonThreadPoolTest.cpp", "../src/base/SingletonThreadPool.cpp")

target("MysqlTest")
    set_kind("binary")
    add_files("MysqlTest.cpp")
    add_links("mysqlcppconn")

target("SingletonConnectionPoolTest")
    set_kind("binary")
    add_files("SingletonConnectionPoolTest.cpp", "../src/sql/SingletonConnectionPool.cpp")
    add_links("mysqlcppconn")
